<%--
  Created by IntelliJ IDEA.
  User: Dominic
  Date: 07.04.12
  Time: 12:24
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
    <title>Thread Board</title>
    <link rel="stylesheet" href="${resource(dir: 'css', file: 'forum.css')}" type="text/css">
</head>
<body>

<div>
    <h1>Thread Board</h1>
    <g:each in="${threads}" var="thread">
        <h2>${thread.name}</h2>
        <h3>${thread.text}</h3>
    </g:each>
</div>
</body>
</html>
